{ext->class_function class="forum" assign="is_forum"}
{if $is_forum == 1}
{ext->class_function class="forum" func="get_all_forum_groups" assign="groups_list"}
	{include file="admin/modules/forum/tabs.html"}
	<table width="100%" cellpadding="0" cellspacing="0" border="6" bordercolor="#DBE1E5" bgcolor="#DBE1E5">
		<tr>
			<td>				
	{if  $smarty.get.tpl_forum_module=='goods'}
		{include file="admin/modules/forum/menu_goods.html"}
	{elseif  $smarty.get.tpl_forum_module=='groups' || !$smarty.get.tpl_forum_module}
		{include file="admin/modules/forum/menu_groups.html"}	
	{/if}
	{if $smarty.get.tpl_forum_module=='goods'}
		{include file="admin/modules/forum/list_goods.html"}			
	{elseif $smarty.get.tpl_forum_module=='groups' || !$smarty.get.tpl_forum_module}
		{include file="admin/modules/forum/list_groups.html"}
	{elseif $smarty.get.tpl_forum_module=='search'}
		{include file="admin/modules/forum/search_goods.html"}
	{elseif $smarty.get.tpl_forum_module=='product'}
		{include file="admin/modules/forum/edit_goods.html"}
	{/if}
	{if  $smarty.get.tpl_forum_module=='goods'}
		{include file="admin/modules/forum/menu_goods.html"}
	{elseif  $smarty.get.tpl_forum_module=='groups' || !$smarty.get.tpl_forum_module}
		{include file="admin/modules/forum/menu_groups.html"}	
	{/if}
			</td>		
		</tr>
	</table>
{/if}
